package cn.itcast.service;

import cn.itcast.entity.OrderQueryPageBean;
import cn.itcast.entity.PageResult;
import cn.itcast.pojo.Order;

/**
 * The interface Order service.
 */
public interface OrderService {
    /**
     * Find page page result.
     *
     * @param orderQueryPageBean the order query page bean
     * @return the page result
     */
    PageResult findPage(OrderQueryPageBean orderQueryPageBean);

    /**
     * Submit.
     *
     * @param order the order
     */
    void submit(Order order);

    /**
     * Find by id order.
     *
     * @param id the id
     * @return the order
     */
    Order findById(String id);

    void changeArrival(Object id, Integer arrival);
}
